package com.platform.framework.dao.pub;

import java.util.List;

import com.platform.framework.entity.pub.TradeFlow;

/** 
 * 功能描述：TODO
 * 创建人：ly-liuxianliang
 * 创建时间：2016-08-31
 */
public interface TradeFlowMybatisDao {
	
	public TradeFlow getById(Integer id);
	
	public void save(TradeFlow tradeFlow);
	
	public void update(TradeFlow tradeFlow);
	
	List<TradeFlow> getTradeFlowByOrderId (String orderNo) ;
	
	List<TradeFlow> getByOutTradeNo (TradeFlow tradeFlow);
	
	//根据ID查询流水表和支付宝详情
	public TradeFlow queryTradeFlowAndAlipayDesc(String id);
	
	//根据ID查询流水表和微信详情
	public TradeFlow queryTradeFlowAndWxpayDesc(String id);
	
	//查询交易流水表
	public List<TradeFlow> findTradeFlow(TradeFlow tradeFlow);
	
}